home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / PVDRIVER / ACTIX131.ZIP / GENERIC / INSTALL.BAT next >
DOS Batch File  |  1992-12-30  |  4KB  |  113 lines

  1. @echo off
  2. echo off
  3. cls
  4. rem  **************************************************************************
  5. rem  **                                                                      **
  6. rem  **         Installation Batch File:                                     **
  7. rem  **  GraphicsENGINE Graphics Accelerator                                 **
  8. rem  **                     and                                              **
  9. rem  **                 Generic CADD                                         **
  10. rem  **                                                                      **
  11. rem  **************************************************************************
  12. echo ACTIX Systems, Inc.
  13. echo Device Driver Install Disk
  14. echo for Generic Software products.
  15. echo .
  16. echo Please wait a moment while I find which applications are installed...
  17. echo .
  18. rem
  19. rem first, make certain we're not logged onto the A drive
  20. rem
  21. if NOT EXIST install.bat goto Contin
  22. rem
  23. rem since we are, lets go to the C: drive
  24. rem
  25. c:
  26. cd \
  27. echo Searching for Generic products on C: drive.
  28. goto ins_lv2
  29. :Contin
  30. echo Searching for Generic products on the default drive.
  31. cd \
  32. :ins_lv2
  33. if EXIST %id%%ip%install.sta del %id%%ip%install.sta
  34. if NOT EXIST \level2\cadd.exe goto ins_lv3
  35. echo CADD Level 2 found
  36. echo please wait while files are coping...
  37. cd \level2
  38. copy %id%%ip%lgen911.vgd lgen911.vgd > %id%%ip%install.sta
  39. echo .
  40. copy %id%%ip%sgen911.vgd sgen911.vgd > %id%%ip%install.sta
  41. echo .
  42. copy %id%%ip%readme.bat install.sta > %id%%ip%install.sta
  43. echo .
  44. echo Please configure Level 2 for "S3 86C911"
  45. pause
  46. config
  47. echo Generic CADD Level 2 driver installation completed.
  48. :ins_lv3
  49. if NOT EXIST \level3\cadd.exe goto ins_3dd
  50. echo CADD Level 3 found
  51. echo please wait while files are coping...
  52. cd \level3
  53. copy %id%%ip%lgen911.vgd lgen911.vgd > %id%%ip%install.sta
  54. echo .
  55. copy %id%%ip%sgen911.vgd sgen911.vgd > %id%%ip%install.sta
  56. echo .
  57. echo Please configure Level 3 for "S3 86C911"
  58. pause
  59. config
  60. echo Generic CADD Level 3 driver installation completed
  61. :ins_3dd
  62. if NOT EXIST \3dd\3dd.exe goto ins_cad5
  63. echo 3D Drafting found
  64. echo please wait while files are coping...
  65. cd \3dd
  66. copy %id%%ip%lgen911.vgd lgen911.vgd > %id%%ip%install.sta
  67. echo .
  68. copy %id%%ip%sgen911.vgd sgen911.vgd > %id%%ip%install.sta
  69. echo .
  70. echo Please configure 3DD for "S3 86C911"
  71. pause
  72. 3dconfig
  73. echo Generic CADD 3DD driver installation completed.
  74. :ins_cad5
  75. if NOT EXIST \cadd5\gcadd.exe goto All_Done
  76. echo CADD 5.0 found
  77. echo please wait while files are coping...
  78. cd \cadd5
  79. copy %id%%ip%lgen911.vgd lgen911.vgd > %id%%ip%install.sta
  80. echo .
  81. copy %id%%ip%sgen911.vgd sgen911.vgd > %id%%ip%install.sta
  82. echo .
  83. echo Please configure CADD 5.0 for "S3 86C911"
  84. echo In order to select this driver, you must first
  85. echo select the "other VGDs" option.
  86. pause
  87. config
  88. echo Generic CADD 5.0 driver installation completed.
  89. goto All_Done
  90. :USAGE
  91. echo .
  92. echo In order to be installed correctly, the following conditions must
  93. echo be true:
  94. echo .
  95. echo   *   This install disk must be in drive %id%.
  96. echo   *   The install disk cannot be write protected.
  97. echo   *   The CURRENT drive must contain Level 2, Level 3, CADD 5.0 or 3DD.
  98. echo .
  99. echo No other exceptions are allowed by this installation program.
  100. echo .
  101. echo To install in non-standard directories, please refer to the instructions
  102. echo in the manual. (%id%%id%README.DOC)
  103. goto end
  104. :All_Done
  105. rem
  106. rem Here we will tell the user that installation is completed.
  107. rem Alex Jen
  108. if NOT EXIST %id%%ip%install.sta goto USAGE
  109. del %id%%ip%install.sta
  110. echo GraphicsENGINE driver installation is now completed!
  111. :end
  112. pause
  113.